package com.zxh.bean;

import com.zxh.service.TestService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class ConsumerComponent {

    @Reference
    private TestService testService;

    public Map<String, Object> methodA() {
        return testService.methodA();
    }

    public Map<String, Object> methodB() {
        return testService.methodB();
    }

    public Map<String, Object> methodC() {
        return testService.methodC();
    }
}
